package com.zhouw.androidutil;

import android.content.Intent;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;

import com.zhouw.graphiclibrary.StatusIcon;
import com.zhouw.printtextview.PrintTextView;

public class MainActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    public void printtextview(View view){
        nextActivity(PrintTextViewActivity.class);
    }
    public void statusicon(View view){
        nextActivity(StatusIconActivity.class);
    }
    private void nextActivity(Class<?> cls){
        Intent intent = new Intent(this, cls);
        startActivity(intent);
    }
}
